UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

System audit logs must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-813 GEN002700 SV-38478r2_rule ECTP-1 Medium
Description
If a user can write to the audit logs, audit trails can be modified or destroyed and system intrusion may not be detected. System audit logs are those files generated from the audit system and do not include activity, error, or other log files created by application software.
STIG Date
HP-UX 11.23 Security Technical Implementation Guide 2015-06-12

Details

Check Text ( C-36425r2_chk )
Inspect the auditing configuration file, /etc/rc.config.d/auditing, to determine the filename and path of the audit logs. The entries should appear similar to the following:
PRI_AUDFILE=/var/.audit/file1
SEC_AUDFILE=/var/.audit/file2

# egrep “PRI_AUDFILE|SEC_AUDFILE” /etc/rc.config.d/auditing

For each audit log directory/file, check the permissions.
# ls -lLd
# ls -lLa

If any audit log file has permissions greater than 0640 (0750 for directories), this is a finding.
Fix Text (F-31764r2_fix)
As root, change the permissions.
# chmod 0750
# chmod 0640